package com.shycloud.mido.member.service;

import com.shycloud.mido.member.api.entity.Member;
import com.shycloud.mido.member.api.entity.SmMemberPrice;
import com.shycloud.mido.member.api.vo.VipMemberVO;

/**
 * vip会员相关业务
 *
 * @author nianhua.jiang
 * @date 2020/7/7 10:15
 */
public interface VipMemberService {


	/**
	 * 获取 VIP 用户详情
	 *
	 * @param memberId
	 * @return com.shycloud.mido.member.api.vo.VipMemberVO
	 * @author nianhua.jiang
	 * @date 2020/7/7 10:19
	 */
	VipMemberVO getVipMemberDetail(String memberId);

	/**
	 * 续费会员
	 *
	 * @param memberPrice
	 * @param member
	 * @return java.lang.Boolean
	 * @author nianhua.jiang
	 * @date 2020/7/29 17:42
	 */
	Boolean renewVipMember(SmMemberPrice memberPrice, Member member);

	Boolean renewVipMember(Integer optId, Integer duration, String memberId);
}
